#

pkgname=xfwm4
pkgver=4.8.1
pkgrel=1
pkgdesc="Xfce window manager"
arch=('ppc')
license=('GPL2')
url="http://www.xfce.org/"
groups=('xfce4')
depends=('gtk2' 'libxfce4util' 'libxfce4ui' 'xfconf' 'libwnck' \
				'dbus-glib' 'startup-notification' 'hicolor-icon-theme' \
				'desktop-file-utils')
makedepends=('pkg-config' 'intltool' 'gettext')
options=('!libtool')
install=${pkgname}.install
source=(http://archive.xfce.org/src/xfce/${pkgname}/4.8/${pkgname}-${pkgver}.tar.bz2)
md5sums=('447433dca613180ebd6cfed4beb1c1c9')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib/xfce4 \
	--localstatedir=/var \
	--disable-static \
	--enable-nls \
	--enable-startup-notification \
	--enable-randr \
	--enable-render \
	--enable-compositor \
	--enable-xsync
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}
